/*
 * @(#)MockResult.java $version 2010. 8. 11
 *
 * Copyright 2007-2010 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nhncorp.usf.core.test;

import java.util.Map;

import com.nhncorp.usf.core.config.runtime.ResultPageInfo;
import com.nhncorp.usf.core.result.AbstractResult;

/**
 * Mock {@link Result}.
 *
 * @author Web Platform Development Team
 */
@SuppressWarnings("serial")
public class MockResult extends AbstractResult {

	/**
	 * @see com.nhncorp.usf.core.result.AbstractResult#execute(com.nhncorp.usf.core.config.runtime.ResultPageInfo, java.util.Map)
	 * @param resultPage ResultPageInfo
	 * @param dataMap Map<String, Object>
	 * @throws Exception the Exception
	 */
	public void execute(ResultPageInfo resultPage, Map<String, Object> dataMap) throws Exception {
		log.debug("[resultPage] type=" + resultPage.getDispatcherType().name() + " , src=" + resultPage.getSrc());
		log.debug("[DataMap] " + dataMap);
	}

}
